home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Lyapunov / ColorMap.h < prev    next >
Encoding:
Text File  |  1992-07-31  |  369 b   |  23 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5.  
  6. #define NUMCOLORS 256    // Number of colors in map.  Do NOT change it!!!
  7.  
  8.  
  9. @interface ColorMap:Object
  10. {
  11.     struct {
  12.         unsigned char red;
  13.         unsigned char green;
  14.         unsigned char blue;
  15.     } colormap[NUMCOLORS];
  16. }
  17.  
  18. - init;
  19. - initFromFile:(const char *)name;
  20. - colorFor:(int)ref :(int *)r :(int *)g :(int *)b;
  21.  
  22. @end
  23.